<html>
<head>
    <meta charset="utf-8">
    <title>个人中心</title>
    <#assign base=request.contextPath  />
    <#setting  number_format="0.##"/>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="${base}/frame/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="${base}/sweep/css/app.css" media="all">
    <link rel="stylesheet" href="${base}/sweep/css/mui.min.css" media="all">
    <link rel="stylesheet" type="text/css" href="${base}/sweep/css/style.css" />
    <link rel="stylesheet" type="text/css" href="${base}/sweep/icon/iconfont.css"/>
    <script src="${base}/backstage/js/jquery-1.8.3.min.js"></script>
    <script src="${base}/sweep/js/mui.min.js"></script>
    <script src="${base}/backstage/layui/layui.js"></script>
    <script src="${base}/sweep/icon/iconfont.js"></script>
    <style>
        #userImage{
            width: 52px;
            position: relative;
            top: 22px;
            left: 8px;
        }
        #username{
            position: absolute;
            top: 4.5%;
            left: 21%;
            font-family: cursive;
        }
        #id{
            position: relative;
            left: 74px;
            font-size: 10px;
        }
        #code{
            position: absolute;
            top: 4.5%;
            left: 49%;
            font-family: cursive;
        }
        #shen{
            position: relative;
            left: 54%;
            height: 18px;
            top:4px;
        }

        #a {
            margin: 0;
            padding: 0;
            display: inline-block;
            _display: inline;
            *display: inline;
            zoom: 1;
            width: 22%;
            border-right: 2px solid #9F9F9F;
            /*background-color: #8f8f94;*/
        }
        #a span{
            font-size: 13px;
            display: block;
            text-align: center;
        }

        #yu{
            position: absolute;
            top: 8%;
            left: 21%;
            font-family: cursive;

        }
        #ji{
            position: absolute;
            top: 8%;
            left: 42%;
            font-family: cursive;
        }
    </style>
</head>
<body>
<div class="mui-content">
    <div class="pertop" style="background-color: #1AB394;height: 100px;">
        <img src="${user.imge}" id="userImage">
        <span class="sapna" id="username">昵称: ${user.nickName}</span>
        <span class="sapna" id="code">邀请码: ${user.discountCode}</span>
        <span class="sapna" id="id"></span><br>
        <span class="sapna" id="yu" style="color: #FFFFFF">余额: ${user.moeny}</span>&nbsp;&nbsp;&nbsp;&nbsp;
        <span class="sapna" id="ji" style="color: #FFFFFF">积分: 0</span>
        <#if user.userIdentity==1></#if>
        <#if user.userIdentity==2>
            <button type="button" class="layui-btn layui-btn-warm layui-btn-radius" id="shen">达人店长</button>
        </#if>
        <#if user.userIdentity==3>
            <button type="button" class="layui-btn layui-btn-warm layui-btn-radius" id="shen">达人销售</button>
        </#if>

<#--        <span class="sapna" id="ren">客户人数: 99</span>-->
<#--        <span class="sapna" id="ke">客户收益: 23600</span>-->
<#--        <span class="sapna" id="gou">购物袋: ${shoppingCar}</span>-->
<#--        <span class="sapna" id="you">优惠券: 2</span>-->
    </div>
<#--    <div class="">-->
<#--        -->
<#--    </div>-->
<#--    <div class="">-->
<#--        -->
<#--    </div>-->

<#--    <div style="margin: 0 auto;padding: 0;position: relative;bottom:39px;">-->
<#--        <div id="a">-->
<#--            <span>99</span><br>-->
<#--            <span style="position: relative;bottom:10px">客户人数</span>-->
<#--        </div>-->
<#--        <div id="a">-->
<#--            <span>23600</span><br>-->
<#--            <span style="position: relative;bottom:10px">客户收益</span>-->
<#--        </div>-->
<#--        <div id="a">-->
<#--            <span>20</span><br>-->
<#--            <span style="position: relative;bottom:10px">购物袋</span>-->
<#--        </div>-->
<#--        <div id="a">-->
<#--            <span>2</span><br>-->
<#--            <span style="position: relative;bottom:10px">优惠券</span>-->
<#--        </div>-->
<#--    </div>-->

    <div style="height: 120px;width: 90%;position: relative;left:5%;margin-bottom: 8%;    margin-top: 4%;">

        <div class="demo" style="background: #ffffff;border-radius: 16px;">
            <ul class="mui-table-view" style="background: #ffffff" onclick="window.location.href='${base}/wx/shoppingOrder/shoppingOrder.html'">
                <li class="mui-table-view-cell" >
                    <a class="mui-navigate-right weixin-login" style="font-size: 15px;">全部订单</a>
                </li>
            </ul>
            <div class="mui-col-xs-2 mui-col-sm-2" onclick="window.location.href='${base}/wx/shoppingOrder/daiOrder.html'" style="margin-right: 4%;margin-left: 6%;">
                <i class="iconfont icon-daifukuan" ></i>
                <h5 style="padding-top: 6px;position: relative;left:9%">待付款</h5>
            </div>
            <div class="mui-col-xs-2 mui-col-sm-2" onclick="window.location.href='${base}/wx/shoppingOrder/daiFaHuo.html'" style="margin-right: 4%">
                <i class="iconfont icon-daifahuo" style="color: #baae58"></i>
                <h5 style="padding-top: 6px;position: relative;left:9%">待发货</h5>
            </div>
            <div class="mui-col-xs-2 mui-col-sm-2" onclick="window.location.href='${base}/wx/shoppingOrder/daiShouHuo.html'" style="margin-right: 4%">
                <i class="iconfont icon-daishouhuo" style="color: #6b3fa5"></i>
                <h5 style="padding-top: 6px;position: relative;left:9%">待收货</h5>
            </div>
            <div class="mui-col-xs-2 mui-col-sm-2" onclick="window.location.href='${base}/wx/shoppingOrder/tuiShou.html'" style="margin-right: 4%">
                <i class="iconfont icon-tuikuan" style="color: #6b3fa5"></i>
                <h5 style="padding-top: 6px;position: relative;left:9%">退款/售后</h5>
            </div>
        </div>
        </div>
    <div style="height: 120px;width: 90%;position: relative;left:5%;margin-bottom: 8%;">
        <div class="demo" style="background: #ffffff;border-radius: 16px;">
            <ul class="mui-table-view" style="background: #ffffff">
                <li class="mui-table-view-cell" >
                    <a class="mui-navigate-right weixin-login" style="font-size: 15px;">必备工具</a>
                </li>
            </ul>
            <div class="mui-col-xs-2 mui-col-sm-2" style="margin-right: 5%;margin-left: 6%;">
                <h5 style="padding-top: 6px;">362</h5>
                <h5 style="padding-top: 6px;">客户人数</h5>
            </div>
            <div class="mui-col-xs-2 mui-col-sm-2" style="margin-right: 5%">
                <h5 style="padding-top: 6px;">560</h5>
                <h5 style="padding-top: 6px;">客户收益</h5>
            </div>
            <div class="mui-col-xs-2 mui-col-sm-2" style="margin-right: 5%" onclick="window.location.href='${base}/wx/user/shoppingCar.html'">
                <h5 style="padding-top: 6px;">${shoppingCar}</h5>
                <h5 style="padding-top: 6px;">购物袋</h5>
            </div>
            <div class="mui-col-xs-2 mui-col-sm-2" style="margin-right: 5%">
                <h5 style="padding-top: 6px;">6</h5>
                <h5 style="padding-top: 6px;">优惠券</h5>
            </div>
            <br>
            <div class="mui-col-xs-2 mui-col-sm-2" style="margin-right: 5%;margin-left: 6%;">
                <h5 style="padding-top: 6px;">362</h5>
                <h5 style="padding-top: 6px;">今日收益</h5>
            </div>
            <div class="mui-col-xs-2 mui-col-sm-2" style="margin-right: 5%">
                <h5 style="padding-top: 6px;">560</h5>
                <h5 style="padding-top: 6px;">本月收益</h5>
            </div>
            <div class="mui-col-xs-2 mui-col-sm-2" style="margin-right: 5%">
                <h5 style="padding-top: 6px;">6352</h5>
                <h5 style="padding-top: 6px;">今年收益</h5>
            </div>
            <div class="mui-col-xs-2 mui-col-sm-2" style="margin-right: 5%">
                <h5 style="padding-top: 6px;">10000</h5>
                <h5 style="padding-top: 6px;">累计收入</h5>
            </div>
        </div>
    </div>


    <div style="height: 60%;width: 90%;position: relative;left:5%;top:100px;margin-bottom: 8%;">
        <div class="demo" style="background: #ffffff;border-radius: 16px;">
            <#if user.userIdentity==1></#if>
            <#if user.userIdentity!=1>
                <ul class="" onclick="window.location.href='${base}/wx/user/chart.html'">
                    <li class="mui-table-view-cell mui-media">
                        <a href="javascript:;">
                            <p class='mui-ellipsis'>收益报表<span class="mui-icon mui-icon mui-icon-arrowright" style="float: right"></span></p>
                        </a>
                    </li>
                </ul>
                <ul class="" onclick="window.location.href='${base}/wx/user/good.html'">
                    <li class="mui-table-view-cell mui-media">
                        <a href="javascript:;">
                            <p class='mui-ellipsis'>商品管理<span class="mui-icon mui-icon mui-icon-arrowright" style="float: right"></span></p>
                        </a>
                    </li>
                </ul>
            </#if>

            <ul class="" onclick="window.location.href='${base}/wx/user/business.html'">
                <li class="mui-table-view-cell mui-media">
                    <a href="javascript:;">
                        <p class='mui-ellipsis'>商家入驻<span class="mui-icon mui-icon mui-icon-arrowright" style="float: right"></span></p>
                    </a>
                </li>
            </ul>
            <ul class="" onclick="window.location.href='${base}/wx/sale/sale.html'">
                <li class="mui-table-view-cell mui-media">
                    <a href="javascript:;">
                        <p class='mui-ellipsis'>销售入驻<span class="mui-icon mui-icon mui-icon-arrowright" style="float: right"></span></p>
                    </a>
                </li>
            </ul>
            <ul class="" onclick="window.location.href='${base}/wx/user/set_up_shop.html'">
                <li class="mui-table-view-cell mui-media">
                    <a href="javascript:;">
                        <p class='mui-ellipsis'>邀请开店<span class="mui-icon mui-icon mui-icon-arrowright" style="float: right"></span></p>
                    </a>
                </li>
            </ul>
            <ul class="" onclick="window.location.href='${base}/wx/user/address.html'">
                <li class="mui-table-view-cell mui-media">
                    <a href="javascript:;">
                        <p class='mui-ellipsis'>地址管理<span class="mui-icon mui-icon mui-icon-arrowright" style="float: right"></span></p>
                    </a>
                </li>
            </ul>
            <ul class="" onclick="window.location.href='${base}/wx/feedback/feedback.html'">
                <li class="mui-table-view-cell mui-media">
                    <a href="javascript:;">
                        <p class='mui-ellipsis'>意见反馈<span class="mui-icon mui-icon mui-icon-arrowright" style="float: right"></span></p>
                    </a>
                </li>
            </ul>
            </ul> <ul class="">
                <li class="mui-table-view-cell mui-media">
                    <a href="javascript:;">
                        <p class='mui-ellipsis'>邀请码<span class="mui-icon mui-icon mui-icon-arrowright" style="float: right"></span></p>
                    </a>
                </li>
            </ul>

            </ul>
            <#if tel==0>
                <ul class="" onclick="window.location.href='${base}/wx/user/phone.html'">
                    <li class="mui-table-view-cell mui-media">
                        <a href="javascript:;">
                            <p class='mui-ellipsis'>绑定手机号<span class="mui-icon mui-icon mui-icon-arrowright" style="float: right"></span></p>
                        </a>
                    </li>
                </ul>
            </#if>
            <#if tel==1>
                <ul class="" onclick="window.location.href='${base}/wx/user/phone.html'">
                    <li class="mui-table-view-cell mui-media">
                        <a href="javascript:;">
                            <p class='mui-ellipsis'>修改手机号<span class="mui-icon mui-icon mui-icon-arrowright" style="float: right"></span></p>
                        </a>
                    </li>
                </ul>
            </#if>






<#--            <div class="mui-col-xs-2 mui-col-sm-2" style="margin-right: 5%;margin-left: 6%;"  onclick="window.location.href='${base}/wx/user/chart.html'">-->
<#--                <i class="iconfont icon-shouyi1" style="color: #6b3fa5"></i>-->
<#--                <h5 style="padding-top: 6px;">收益报表</h5>-->
<#--            </div>-->
<#--            <div class="mui-col-xs-2 mui-col-sm-2" style="margin-right: 5%" onclick="window.location.href='${base}/wx/user/good.html'">-->
<#--                <i class="iconfont icon-shangpinguanli" style="color: #6b3fa5"></i>-->
<#--                <h5 style="padding-top: 6px;">商品管理</h5>-->
<#--            </div>-->
        </div>
    </div>
<#--    <div style="height: 120px;width: 90%;position: relative;left:5%;">-->
<#--        <div class="demo" style="background: #ffffff;border-radius: 16px;margin-bottom: 8%;">-->
<#--            <ul class="mui-table-view" style="background: #ffffff">-->
<#--                <li class="mui-table-view-cell" >-->
<#--                    <a class="mui-navigate-right weixin-login" style="font-size: 15px;">必备工具</a>-->
<#--                </li>-->
<#--            </ul>-->

<#--            <div class="mui-col-xs-2 mui-col-sm-2" style="margin-right: 5%;margin-left: 6%;" onclick="window.location.href='${base}/wx/user/business.html'">-->
<#--                <i class="iconfont icon-shangjiaruzhu" style="color: #baae58"></i>-->
<#--                <h5 style="padding-top: 6px;">商家入驻</h5>-->
<#--            </div>-->
<#--            <div class="mui-col-xs-2 mui-col-sm-2" style="margin-right: 5%" onclick="window.location.href='${base}/wx/sale/sale.html'">-->
<#--                <i class="iconfont icon-xiaoshou" style="color: #baae58"></i>-->
<#--                <h5 style="padding-top: 6px;">销售入驻</h5>-->
<#--            </div>-->
<#--            <div class="mui-col-xs-2 mui-col-sm-2" style="margin-right: 5%" onclick="window.location.href='${base}/wx/user/set_up_shop.html'">-->
<#--                <i class="iconfont icon-yaoqingxiezhu" style="color: #6b3fa5"></i>-->
<#--                <h5 style="padding-top: 6px;">邀请开店</h5>-->
<#--            </div>-->
<#--            <div class="mui-col-xs-2 mui-col-sm-2" style="margin-right: 5%" onclick="window.location.href='${base}/wx/user/address.html'">-->
<#--                <i class="iconfont icon-dizhi" style="color: #ee9900"></i>-->
<#--                <h5 style="padding-top: 6px;">添加地址</h5>-->
<#--            </div>-->
<#--            <br>-->
<#--            <div class="mui-col-xs-2 mui-col-sm-2" style="margin-right: 5%;margin-left: 6%;" onclick="window.location.href='${base}/wx/feedback/feedback.html'">-->
<#--                <i class="iconfont icon-yijianfankui1" style="color: #6b3fa5"></i>-->
<#--                <h5 style="padding-top: 6px;">意见反馈</h5>-->
<#--            </div>-->
<#--            <div class="mui-col-xs-2 mui-col-sm-2" style="margin-right: 5%">-->
<#--                <i class="iconfont icon-yaoqing" style="color: #6b3fa5"></i>-->
<#--                <h5 style="padding-top: 6px;">邀请码</h5>-->
<#--            </div>-->
<#--            <#if tel==0>-->
<#--                <div class="mui-col-xs-2 mui-col-sm-2" style="margin-right: 5%" onclick="window.location.href='${base}/wx/user/phone.html'">-->
<#--                    <i class="iconfont icon-yaoqing" style="color: #6b3fa5"></i>-->
<#--                    <h5 style="padding-top: 6px;">绑定手机号</h5>-->
<#--                </div>-->
<#--            </#if>-->
<#--            <#if tel==1></#if>-->

<#--        </div>-->

<#--    </div>-->


    </div>
</body>

</html>


